You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > MatrixInt Structure > MatrixInt Methods > BitShift Method > MatrixInt.BitShift Method ([In] int, [In] int, [In] int)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
MatrixInt.BitShift Method ([In] int, [In] int, [In] int)

Apply binary shift by number of Bits to the left (positive) or right (negative) to elements in the calling object.

Syntax
C#
Visual Basic
public TMtxVecInt BitShift([In] int Bits, [In] int Index, [In] int Len);

the result of binary shift to the left or right by number of Bits applied to values [Index]..[Index+Len-1] in the calling object and stored back in the calling object. The sign of the numbers is preserved when doing right shift.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!